/*
 * UpStoneCombineResource.h
 *
 *  Created on: 2014. 3. 6.
 *      Author: mega
 */

#ifndef UPSTONECOMBINERESOURCE_H_
#define UPSTONECOMBINERESOURCE_H_

#include <map>

namespace ProjectZ { namespace NResource {

class UpStoneCombineResource
{
public:
	struct Flyweight
	{
		int _QUALITY;
		int _RATE;
	};

public:
	UpStoneCombineResource();
	virtual ~UpStoneCombineResource();

	bool		LoadResource();
	Flyweight *	GetFly(int quality);

private:
	void		Clear();

public:
	typedef std::map<int, Flyweight *> UPSTONECOMBINETREE;

private:
	UPSTONECOMBINETREE clsFlyTree;
};

} /*NResource*/ } /*ProjectZ*/

#endif /* UPSTONECOMBINERESOURCE_H_ */
